/**
 * 服务器接口URL
 */
var urlScheme = "http" // https协议
// var host = "192.168.0.153:8081" // xkx
// var host1 = "192.168.0.109:8080" // czq
var host = "192.168.0.179:8082" // 本地测试服务器
var server = "/xje/"
var URL = urlScheme + "://" + host + server

var config = {
  /* 地图页面 */ 
  findNearGym: `${URL}api/map/findNearGym`,
  petList: `${URL}api/u/coin/all`,
  // 自动登录
  miniProgramAutoLogin: `${URL}api/member/autoLogin`,
  // 手机登录 
  miniProgramLogin: `${URL}api/member/loginByPhone`,

  mobile:`https://tcc.taobao.com/cc/json/mobile_tel_segment.htm`, 
  sendLoginCode: `${URL}api/mobileCode/sendCodeByInputMobile`, // 获取短信验证码
  // 'sd':'./utils/as.json' , 
  alltop: `${URL}api/xiaanswer/alltop`,//答题排行榜
  getbanklist: `${URL}api/question/getbanklist`,//根据题目难度得到题目
  addQ:`${URL}api/question/add`,//答题
  smallProgram:`${URL}api/imageUpload/smallProgram`,//图片上传
};

module.exports = config